<template>
	<view class="indexBox">
		<view class="fyBtn" @click="fyBtnEvent">
			<u-icon size="40" labelSize="20" color="" name="file-text" label="复印申请"></u-icon>
		</view>
		<view class="fyBtn" @click="historyEvent">
			<u-icon size="40"  labelSize="20" color="" name="clock" label="历史记录"></u-icon>
		</view>
	</view>
</template>

<script>
	import {
		LoginInfo,
	} from "@/api/login.js"
	export default {
		data() {
			return {
				show: false
			}
		},
		onLoad(options) {
			
		},
		onShow() {
			this.getUserInfo()
		},
		methods:{
			getUserInfo(){
				LoginInfo().then(res=>{
					console.log(res,'LoginInfo');
				})
			},
			fyBtnEvent(){
				uni.navigateTo({
					url:'/pages/copyNotice/copyNotice'
				})
			},
			historyEvent(){
				uni.navigateTo({
					url:'/pages/historyList/historyList'
				})
			}
		}
	}
	
</script>
<style scoped lang="scss">
.fyBtn{
	width: 100%;
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 40upx;
}
</style>
